package com.woniuxy.project115.kaer.tenant.service;

import com.woniuxy.project115.kaer.tenant.dto.ApplicationAttachmentDto;
import com.woniuxy.project115.kaer.tenant.dto.SettledApplicationDto;
import com.woniuxy.project115.kaer.tenant.entity.ApplicationAttachment;
import com.woniuxy.project115.kaer.tenant.entity.SettledApplication;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.project115.kaer.tenant.param.ApproveApplicationParam;
import com.woniuxy.project115.kaer.tenant.param.SubmitApplicationParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuH
 * @since 2025年02月20日
 */
public interface SettledApplicationService extends IService<SettledApplication> {

    String uploadLogo(MultipartFile file) throws Exception;

    void submitApplication(SubmitApplicationParam param, Integer tenantInfoId) throws Exception;

    List<SettledApplicationDto> getPendingApplication() throws Exception;

    void approveApplication(ApproveApplicationParam param) throws Exception;

    List<SettledApplication> getApplication(Integer tenantInfoId) throws Exception;
}
